<?php
require('lib/verify.php');
require('lib/has_char.php');
require('lib/is_approved.php');

$_category = "wardkp";
$_title = "Loot";
require('lib/head.php');

boxTop("wardkp: $_title");
?>
Browse loot to mark items as max or mod.<br /><br />
<i>Select an instance.</i><br />
<?php
$sql = "select * from wm_instances order by instance_tier asc, instance_name asc";
$result = $db->query($sql);
while($inst = $db->fetch_assoc($result)) {
  if($inst["instance_tier"]==$system["system_tier"]) {
?>
 <a href="loot-instance.php?id=<?=$inst["instance_id"]?>"><?=$inst["instance_name"]?></a> (Tier <?=$inst["instance_tier"]?>)<br />
<?php
    }
}
?>

<?php
boxBot();
?>

<?php
require('lib/foot.php');
?>

